Module-level declarations

Types

Link copied to clipboard
entity flag

Properties

Link copied to clipboard
val FLAG_GAME_MASTER: text = "Game Master"

Functions

Link copied to clipboard
function has_active_flag(name: text, account_id: byte_array): boolean
Link copied to clipboard
function is_game_master(account_id: byte_array): boolean
Link copied to clipboard
function valid_flag_issuer(name: text, account_id: byte_array)

Queries

Link copied to clipboard
@mount("game_master.get_active_flags_of_type") query get_active_flags_of_type(name: text, skip: integer, take: integer): list<(username: text, name: text, valid_to: integer, issued: integer)>
Link copied to clipboard
@mount("game_master.get_active_player_flags") query get_active_player_flags(username: text): list<(name: text, valid_to: integer, issued: integer)>
Link copied to clipboard
@mount("game_master.get_all_active_flags") query get_all_active_flags(skip: integer, take: integer): list<(username: text, name: text, valid_to: integer, issued: integer)>

Operations

Link copied to clipboard
@mount("game_master.assign_flag") operation assign_flag(name: text, username: text, valid_to: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("game_master.assign_flag_by_account_id") operation assign_flag_by_account_id(name: text, target_account_id: byte_array, valid_to: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("game_master.revoke_flag") operation revoke_flag(name: text, username: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("game_master.revoke_flag_by_account_id") operation revoke_flag_by_account_id(name: text, target_account_id: byte_array, account_id: byte_array, auth_descriptor_id: byte_array)